Rework hvm_wait_io() -- now tries to be a polite user of
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 11 Feb 2006 12:06:49 +0000 (13:06 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 11 Feb 2006 12:06:49 +0000 (13:06 +0100)
commit7e75b05fb42c2c0143fcf42ecb1c4ee96a434063
tree11f258b41b4f8a728a329244ff990340a5b4ceab
parent5308792975be1edff0f3ae43b6003d907fe675ed
Rework hvm_wait_io() -- now tries to be a polite user of
event channels by re-setting the selector and master
pending flags when it exits. Should make for better
behaviour when there are others using the event channels.

This needs some testing to be sure it doesn't break
anything or trigger latent bugs.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/io.c
xen/arch/x86/hvm/svm/vmcb.c
xen/arch/x86/hvm/vmx/io.c
xen/include/asm-x86/hvm/support.h